package com.ykq.dao;

import com.ykq.entity.EmpInfo;
import com.ykq.vo.EmpSearchVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity com.ykq.entity.EmpInfo
 */
public interface EmpInfoMapper {

    int deleteByPrimaryKey(Long id);

    int insert(EmpInfo record);

    int insertSelective(EmpInfo record);

    EmpInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(EmpInfo record);

    int updateByPrimaryKey(EmpInfo record);

    EmpInfo selectByNameAndPwd(@Param("username") String username, @Param("pwd") String pwd);

    List<EmpInfo> selectByCondition(EmpSearchVo empSearchVo);
}




